﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace TechProg
{
    public partial class Operand : Form
    {
      uint operand1 = 0;
      uint operand2 = 0;

      public uint Oper1()
      {
        //operand1 = Convert.ToUInt32(textBox1.Text);
        return operand1;
      }

      public uint Oper2()
      {
       // operand2 = Convert.ToUInt32(textBox2.Text);
        return operand2;
      }

        public Operand()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
          operand1 = Convert.ToUInt32(textBox1.Text);
          operand2 = Convert.ToUInt32(textBox2.Text);
          this.DialogResult = DialogResult.OK;
        }
    }
}
